package com.qf.service;

import java.sql.SQLException;
import java.util.List;

import com.qf.model.Telbook;
import com.qf.model.User;

public interface UserService {
	

	boolean isExist(String uname) throws SQLException;
//登录
	User login(String uname, String upwd);

	User showInfo(String uname);

    boolean addContact(String cname,String ctel,String caddress,String cremark,int uid,int tid) throws SQLException;
	

	//boolean changeInfo(int uid,String uname, String upwd, String ugender) throws SQLException;

	boolean deleteByID(int cid) throws SQLException;
	List<Telbook> showAll(int uid);
	
	
	
}
